package com.testfileupload.uploadimg.design.visitor;

public class Manager extends Employee {
    //业绩很重要
    private String performance;

    public String getPerformance() {
        return performance;
    }

    public void setPerformance(String performance) {
        this.performance = performance;
    }

    @Override
    public void accept(IVisitor visitor) {
        visitor.visit(this);
    }

//    @Override
//    protected String getOtherInfo() {
//        return "业绩：" + this.performance;
//    }
}
